package Teste;

import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.Toolkit;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

public class FinalTestSQL extends JFrame {

	private static final long serialVersionUID = 2L;
	private JPanel contentPane;

	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FinalTestSQL frame = new FinalTestSQL();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	public FinalTestSQL() {
		setTitle("Occurence Safe - Final Test SQL");
		setResizable(false);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		Dimension tela = Toolkit.getDefaultToolkit().getScreenSize();
		Dimension tela1 = getSize();
		setLocation((tela.width - tela1.width)/2, (tela.height-tela1.height)/2);
	}

}
